package com.xt.bean;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 班级表
 * Created by XT on 2018/5/3.
 */
@Document(collection="tb_class")
public class Class extends BaseBean{
    private String name;
    private String year;//年级
    private String departmentId;//院系id 冗余字段，空间换时间
    private String departmentName;//院系名
    private String specialtyId;//专业id
    private String specialtyName;//专业名
    private String[] userIds;//班级下的学生列表


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getSpecialtyId() {
        return specialtyId;
    }

    public void setSpecialtyId(String specialtyId) {
        this.specialtyId = specialtyId;
    }

    public String[] getUserIds() {
        return userIds;
    }

    public void setUserIds(String[] userIds) {
        this.userIds = userIds;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getSpecialtyName() {
        return specialtyName;
    }

    public void setSpecialtyName(String specialtyName) {
        this.specialtyName = specialtyName;
    }
}
